package com.waq.pojo;

import javax.persistence.Column;
import javax.persistence.Id;

public class Permission {
    @Id
    @Column(name = "permission_id")
    private Integer permissionId;

    @Column(name = "module_id")
    private Integer moduleId;

    @Column(name = "position_id")
    private Integer positionId;

    @Column(name = "is_permit")
    private Byte isPermit;

    /**
     * @return permission_id
     */
    public Integer getPermissionId() {
        return permissionId;
    }

    /**
     * @param permissionId
     */
    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    /**
     * @return module_id
     */
    public Integer getModuleId() {
        return moduleId;
    }

    /**
     * @param moduleId
     */
    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    /**
     * @return position_id
     */
    public Integer getPositionId() {
        return positionId;
    }

    /**
     * @param positionId
     */
    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    /**
     * @return is_permit
     */
    public Byte getIsPermit() {
        return isPermit;
    }

    /**
     * @param isPermit
     */
    public void setIsPermit(Byte isPermit) {
        this.isPermit = isPermit;
    }
}